
#ifndef _xNodeType_wopcollector_H_
#define	_xNodeType_wopcollector_H_

#include "xNodeType.h"
class xNodeType_wopcollector : public xNodeType {
	vector<WOP_Entry *> _wops ;
public:
	xNodeType_wopcollector() { _name = "wopcollector" ;}
	virtual	void		setupPorts();
	virtual	string		getType() { return "wopcollector" ; }
	virtual xParameter  toXParameter(string toType, xOutMappingPort * linked_op) ;
	virtual void		createMappedObject(){}
	virtual string		toMDString(MDSType);
	virtual int         parseMDString(vector<string>& tokens, int start_index);
	virtual bool		update() { return true ; }
	virtual bool verify_rhs_link(xOutMappingPort *left, xInMappingPort *right, xNodeType* rightnode);
	virtual bool verify_lhs_link(xOutMappingPort *left, xNodeType* leftnode, xInMappingPort *right);

};

#endif 